Spread WPF Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcLeftFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 1 - 2 items: text, [num_chars].

Text is the text string that contains the characters you want to extract.

[Num_bytes] specifies the number of characters you want LEFTB to extract, based on bytes, the default value is 1.

Returns the first character or characters in a text string, based on the number of characters you specify.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcLeftFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 1 - 2 items: text, [num_chars].

Text is the text string that contains the characters you want to extract.

[Num_bytes] specifies the number of characters you want LEFTB to extract, based on bytes, the default value is 1.

Return Value

A System.String value that indicates the evaluate result.
See Also

Reference

CalcLeftFunction Class
CalcLeftFunction Members
Overload List